package com.rc.saas.mini.model.enterprise;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class EnterpriseSubmemberApplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EnterpriseSubmemberApplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andSubmemberApplyIdIsNull() {
            addCriterion("submember_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdIsNotNull() {
            addCriterion("submember_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdEqualTo(Long value) {
            addCriterion("submember_apply_id =", value, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdNotEqualTo(Long value) {
            addCriterion("submember_apply_id <>", value, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdGreaterThan(Long value) {
            addCriterion("submember_apply_id >", value, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("submember_apply_id >=", value, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdLessThan(Long value) {
            addCriterion("submember_apply_id <", value, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdLessThanOrEqualTo(Long value) {
            addCriterion("submember_apply_id <=", value, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdIn(List<Long> values) {
            addCriterion("submember_apply_id in", values, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdNotIn(List<Long> values) {
            addCriterion("submember_apply_id not in", values, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdBetween(Long value1, Long value2) {
            addCriterion("submember_apply_id between", value1, value2, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andSubmemberApplyIdNotBetween(Long value1, Long value2) {
            addCriterion("submember_apply_id not between", value1, value2, "submemberApplyId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Long value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Long value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Long value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Long value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Long> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Long> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIsNull() {
            addCriterion("enterprise_member_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIsNotNull() {
            addCriterion("enterprise_member_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdEqualTo(Long value) {
            addCriterion("enterprise_member_id =", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotEqualTo(Long value) {
            addCriterion("enterprise_member_id <>", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdGreaterThan(Long value) {
            addCriterion("enterprise_member_id >", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_member_id >=", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdLessThan(Long value) {
            addCriterion("enterprise_member_id <", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_member_id <=", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIn(List<Long> values) {
            addCriterion("enterprise_member_id in", values, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotIn(List<Long> values) {
            addCriterion("enterprise_member_id not in", values, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_member_id between", value1, value2, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_member_id not between", value1, value2, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileIsNull() {
            addCriterion("enterprise_mobile is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileIsNotNull() {
            addCriterion("enterprise_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileEqualTo(String value) {
            addCriterion("enterprise_mobile =", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileNotEqualTo(String value) {
            addCriterion("enterprise_mobile <>", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileGreaterThan(String value) {
            addCriterion("enterprise_mobile >", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_mobile >=", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileLessThan(String value) {
            addCriterion("enterprise_mobile <", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileLessThanOrEqualTo(String value) {
            addCriterion("enterprise_mobile <=", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileLike(String value) {
            addCriterion("enterprise_mobile like", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileNotLike(String value) {
            addCriterion("enterprise_mobile not like", value, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileIn(List<String> values) {
            addCriterion("enterprise_mobile in", values, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileNotIn(List<String> values) {
            addCriterion("enterprise_mobile not in", values, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileBetween(String value1, String value2) {
            addCriterion("enterprise_mobile between", value1, value2, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMobileNotBetween(String value1, String value2) {
            addCriterion("enterprise_mobile not between", value1, value2, "enterpriseMobile");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdIsNull() {
            addCriterion("sub_member_id is null");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdIsNotNull() {
            addCriterion("sub_member_id is not null");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdEqualTo(Long value) {
            addCriterion("sub_member_id =", value, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdNotEqualTo(Long value) {
            addCriterion("sub_member_id <>", value, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdGreaterThan(Long value) {
            addCriterion("sub_member_id >", value, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sub_member_id >=", value, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdLessThan(Long value) {
            addCriterion("sub_member_id <", value, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("sub_member_id <=", value, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdIn(List<Long> values) {
            addCriterion("sub_member_id in", values, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdNotIn(List<Long> values) {
            addCriterion("sub_member_id not in", values, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdBetween(Long value1, Long value2) {
            addCriterion("sub_member_id between", value1, value2, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("sub_member_id not between", value1, value2, "subMemberId");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileIsNull() {
            addCriterion("submember_mobile is null");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileIsNotNull() {
            addCriterion("submember_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileEqualTo(String value) {
            addCriterion("submember_mobile =", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileNotEqualTo(String value) {
            addCriterion("submember_mobile <>", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileGreaterThan(String value) {
            addCriterion("submember_mobile >", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileGreaterThanOrEqualTo(String value) {
            addCriterion("submember_mobile >=", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileLessThan(String value) {
            addCriterion("submember_mobile <", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileLessThanOrEqualTo(String value) {
            addCriterion("submember_mobile <=", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileLike(String value) {
            addCriterion("submember_mobile like", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileNotLike(String value) {
            addCriterion("submember_mobile not like", value, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileIn(List<String> values) {
            addCriterion("submember_mobile in", values, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileNotIn(List<String> values) {
            addCriterion("submember_mobile not in", values, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileBetween(String value1, String value2) {
            addCriterion("submember_mobile between", value1, value2, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberMobileNotBetween(String value1, String value2) {
            addCriterion("submember_mobile not between", value1, value2, "submemberMobile");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameIsNull() {
            addCriterion("submember_nickname is null");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameIsNotNull() {
            addCriterion("submember_nickname is not null");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameEqualTo(String value) {
            addCriterion("submember_nickname =", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameNotEqualTo(String value) {
            addCriterion("submember_nickname <>", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameGreaterThan(String value) {
            addCriterion("submember_nickname >", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("submember_nickname >=", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameLessThan(String value) {
            addCriterion("submember_nickname <", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameLessThanOrEqualTo(String value) {
            addCriterion("submember_nickname <=", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameLike(String value) {
            addCriterion("submember_nickname like", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameNotLike(String value) {
            addCriterion("submember_nickname not like", value, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameIn(List<String> values) {
            addCriterion("submember_nickname in", values, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameNotIn(List<String> values) {
            addCriterion("submember_nickname not in", values, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameBetween(String value1, String value2) {
            addCriterion("submember_nickname between", value1, value2, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andSubmemberNicknameNotBetween(String value1, String value2) {
            addCriterion("submember_nickname not between", value1, value2, "submemberNickname");
            return (Criteria) this;
        }

        public Criteria andApplyTypeIsNull() {
            addCriterion("apply_type is null");
            return (Criteria) this;
        }

        public Criteria andApplyTypeIsNotNull() {
            addCriterion("apply_type is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTypeEqualTo(String value) {
            addCriterion("apply_type =", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotEqualTo(String value) {
            addCriterion("apply_type <>", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeGreaterThan(String value) {
            addCriterion("apply_type >", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("apply_type >=", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeLessThan(String value) {
            addCriterion("apply_type <", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeLessThanOrEqualTo(String value) {
            addCriterion("apply_type <=", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeLike(String value) {
            addCriterion("apply_type like", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotLike(String value) {
            addCriterion("apply_type not like", value, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeIn(List<String> values) {
            addCriterion("apply_type in", values, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotIn(List<String> values) {
            addCriterion("apply_type not in", values, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeBetween(String value1, String value2) {
            addCriterion("apply_type between", value1, value2, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplyTypeNotBetween(String value1, String value2) {
            addCriterion("apply_type not between", value1, value2, "applyType");
            return (Criteria) this;
        }

        public Criteria andApplySourceIsNull() {
            addCriterion("apply_source is null");
            return (Criteria) this;
        }

        public Criteria andApplySourceIsNotNull() {
            addCriterion("apply_source is not null");
            return (Criteria) this;
        }

        public Criteria andApplySourceEqualTo(String value) {
            addCriterion("apply_source =", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotEqualTo(String value) {
            addCriterion("apply_source <>", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceGreaterThan(String value) {
            addCriterion("apply_source >", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceGreaterThanOrEqualTo(String value) {
            addCriterion("apply_source >=", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceLessThan(String value) {
            addCriterion("apply_source <", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceLessThanOrEqualTo(String value) {
            addCriterion("apply_source <=", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceLike(String value) {
            addCriterion("apply_source like", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotLike(String value) {
            addCriterion("apply_source not like", value, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceIn(List<String> values) {
            addCriterion("apply_source in", values, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotIn(List<String> values) {
            addCriterion("apply_source not in", values, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceBetween(String value1, String value2) {
            addCriterion("apply_source between", value1, value2, "applySource");
            return (Criteria) this;
        }

        public Criteria andApplySourceNotBetween(String value1, String value2) {
            addCriterion("apply_source not between", value1, value2, "applySource");
            return (Criteria) this;
        }

        public Criteria andHeadImgIsNull() {
            addCriterion("head_img is null");
            return (Criteria) this;
        }

        public Criteria andHeadImgIsNotNull() {
            addCriterion("head_img is not null");
            return (Criteria) this;
        }

        public Criteria andHeadImgEqualTo(String value) {
            addCriterion("head_img =", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotEqualTo(String value) {
            addCriterion("head_img <>", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgGreaterThan(String value) {
            addCriterion("head_img >", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgGreaterThanOrEqualTo(String value) {
            addCriterion("head_img >=", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgLessThan(String value) {
            addCriterion("head_img <", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgLessThanOrEqualTo(String value) {
            addCriterion("head_img <=", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgLike(String value) {
            addCriterion("head_img like", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotLike(String value) {
            addCriterion("head_img not like", value, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgIn(List<String> values) {
            addCriterion("head_img in", values, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotIn(List<String> values) {
            addCriterion("head_img not in", values, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgBetween(String value1, String value2) {
            addCriterion("head_img between", value1, value2, "headImg");
            return (Criteria) this;
        }

        public Criteria andHeadImgNotBetween(String value1, String value2) {
            addCriterion("head_img not between", value1, value2, "headImg");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNull() {
            addCriterion("apply_status is null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNotNull() {
            addCriterion("apply_status is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusEqualTo(String value) {
            addCriterion("apply_status =", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotEqualTo(String value) {
            addCriterion("apply_status <>", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThan(String value) {
            addCriterion("apply_status >", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThanOrEqualTo(String value) {
            addCriterion("apply_status >=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThan(String value) {
            addCriterion("apply_status <", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThanOrEqualTo(String value) {
            addCriterion("apply_status <=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLike(String value) {
            addCriterion("apply_status like", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotLike(String value) {
            addCriterion("apply_status not like", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIn(List<String> values) {
            addCriterion("apply_status in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotIn(List<String> values) {
            addCriterion("apply_status not in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusBetween(String value1, String value2) {
            addCriterion("apply_status between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotBetween(String value1, String value2) {
            addCriterion("apply_status not between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("reason =", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotEqualTo(String value) {
            addCriterion("reason <>", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("reason >", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("reason >=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThan(String value) {
            addCriterion("reason <", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("reason <=", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonLike(String value) {
            addCriterion("reason like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotLike(String value) {
            addCriterion("reason not like", value, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonIn(List<String> values) {
            addCriterion("reason in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotIn(List<String> values) {
            addCriterion("reason not in", values, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonBetween(String value1, String value2) {
            addCriterion("reason between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andReasonNotBetween(String value1, String value2) {
            addCriterion("reason not between", value1, value2, "reason");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNull() {
            addCriterion("nickname is null");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNotNull() {
            addCriterion("nickname is not null");
            return (Criteria) this;
        }

        public Criteria andNicknameEqualTo(String value) {
            addCriterion("nickname =", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotEqualTo(String value) {
            addCriterion("nickname <>", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThan(String value) {
            addCriterion("nickname >", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("nickname >=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThan(String value) {
            addCriterion("nickname <", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThanOrEqualTo(String value) {
            addCriterion("nickname <=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLike(String value) {
            addCriterion("nickname like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotLike(String value) {
            addCriterion("nickname not like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameIn(List<String> values) {
            addCriterion("nickname in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotIn(List<String> values) {
            addCriterion("nickname not in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameBetween(String value1, String value2) {
            addCriterion("nickname between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotBetween(String value1, String value2) {
            addCriterion("nickname not between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(Date value) {
            addCriterionForJDBCDate("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(Date value) {
            addCriterionForJDBCDate("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(Date value) {
            addCriterionForJDBCDate("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(Date value) {
            addCriterionForJDBCDate("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<Date> values) {
            addCriterionForJDBCDate("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<Date> values) {
            addCriterionForJDBCDate("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberIsNull() {
            addCriterion("citizenship_number is null");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberIsNotNull() {
            addCriterion("citizenship_number is not null");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberEqualTo(String value) {
            addCriterion("citizenship_number =", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberNotEqualTo(String value) {
            addCriterion("citizenship_number <>", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberGreaterThan(String value) {
            addCriterion("citizenship_number >", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberGreaterThanOrEqualTo(String value) {
            addCriterion("citizenship_number >=", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberLessThan(String value) {
            addCriterion("citizenship_number <", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberLessThanOrEqualTo(String value) {
            addCriterion("citizenship_number <=", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberLike(String value) {
            addCriterion("citizenship_number like", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberNotLike(String value) {
            addCriterion("citizenship_number not like", value, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberIn(List<String> values) {
            addCriterion("citizenship_number in", values, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberNotIn(List<String> values) {
            addCriterion("citizenship_number not in", values, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberBetween(String value1, String value2) {
            addCriterion("citizenship_number between", value1, value2, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenshipNumberNotBetween(String value1, String value2) {
            addCriterion("citizenship_number not between", value1, value2, "citizenshipNumber");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andHasPermissionIsNull() {
            addCriterion("has_permission is null");
            return (Criteria) this;
        }

        public Criteria andHasPermissionIsNotNull() {
            addCriterion("has_permission is not null");
            return (Criteria) this;
        }

        public Criteria andHasPermissionEqualTo(String value) {
            addCriterion("has_permission =", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionNotEqualTo(String value) {
            addCriterion("has_permission <>", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionGreaterThan(String value) {
            addCriterion("has_permission >", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionGreaterThanOrEqualTo(String value) {
            addCriterion("has_permission >=", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionLessThan(String value) {
            addCriterion("has_permission <", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionLessThanOrEqualTo(String value) {
            addCriterion("has_permission <=", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionLike(String value) {
            addCriterion("has_permission like", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionNotLike(String value) {
            addCriterion("has_permission not like", value, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionIn(List<String> values) {
            addCriterion("has_permission in", values, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionNotIn(List<String> values) {
            addCriterion("has_permission not in", values, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionBetween(String value1, String value2) {
            addCriterion("has_permission between", value1, value2, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andHasPermissionNotBetween(String value1, String value2) {
            addCriterion("has_permission not between", value1, value2, "hasPermission");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdIsNull() {
            addCriterion("recommender_id is null");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdIsNotNull() {
            addCriterion("recommender_id is not null");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdEqualTo(Long value) {
            addCriterion("recommender_id =", value, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdNotEqualTo(Long value) {
            addCriterion("recommender_id <>", value, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdGreaterThan(Long value) {
            addCriterion("recommender_id >", value, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("recommender_id >=", value, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdLessThan(Long value) {
            addCriterion("recommender_id <", value, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdLessThanOrEqualTo(Long value) {
            addCriterion("recommender_id <=", value, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdIn(List<Long> values) {
            addCriterion("recommender_id in", values, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdNotIn(List<Long> values) {
            addCriterion("recommender_id not in", values, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdBetween(Long value1, Long value2) {
            addCriterion("recommender_id between", value1, value2, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andRecommenderIdNotBetween(Long value1, Long value2) {
            addCriterion("recommender_id not between", value1, value2, "recommenderId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameIsNull() {
            addCriterion("enterprise_name is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameIsNotNull() {
            addCriterion("enterprise_name is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameEqualTo(String value) {
            addCriterion("enterprise_name =", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameNotEqualTo(String value) {
            addCriterion("enterprise_name <>", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameGreaterThan(String value) {
            addCriterion("enterprise_name >", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_name >=", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameLessThan(String value) {
            addCriterion("enterprise_name <", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameLessThanOrEqualTo(String value) {
            addCriterion("enterprise_name <=", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameLike(String value) {
            addCriterion("enterprise_name like", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameNotLike(String value) {
            addCriterion("enterprise_name not like", value, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameIn(List<String> values) {
            addCriterion("enterprise_name in", values, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameNotIn(List<String> values) {
            addCriterion("enterprise_name not in", values, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameBetween(String value1, String value2) {
            addCriterion("enterprise_name between", value1, value2, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseNameNotBetween(String value1, String value2) {
            addCriterion("enterprise_name not between", value1, value2, "enterpriseName");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerIsNull() {
            addCriterion("enterprise_owner is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerIsNotNull() {
            addCriterion("enterprise_owner is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerEqualTo(String value) {
            addCriterion("enterprise_owner =", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerNotEqualTo(String value) {
            addCriterion("enterprise_owner <>", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerGreaterThan(String value) {
            addCriterion("enterprise_owner >", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_owner >=", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerLessThan(String value) {
            addCriterion("enterprise_owner <", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerLessThanOrEqualTo(String value) {
            addCriterion("enterprise_owner <=", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerLike(String value) {
            addCriterion("enterprise_owner like", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerNotLike(String value) {
            addCriterion("enterprise_owner not like", value, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerIn(List<String> values) {
            addCriterion("enterprise_owner in", values, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerNotIn(List<String> values) {
            addCriterion("enterprise_owner not in", values, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerBetween(String value1, String value2) {
            addCriterion("enterprise_owner between", value1, value2, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andEnterpriseOwnerNotBetween(String value1, String value2) {
            addCriterion("enterprise_owner not between", value1, value2, "enterpriseOwner");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileIsNull() {
            addCriterion("owner_mobile is null");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileIsNotNull() {
            addCriterion("owner_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileEqualTo(String value) {
            addCriterion("owner_mobile =", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileNotEqualTo(String value) {
            addCriterion("owner_mobile <>", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileGreaterThan(String value) {
            addCriterion("owner_mobile >", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileGreaterThanOrEqualTo(String value) {
            addCriterion("owner_mobile >=", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileLessThan(String value) {
            addCriterion("owner_mobile <", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileLessThanOrEqualTo(String value) {
            addCriterion("owner_mobile <=", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileLike(String value) {
            addCriterion("owner_mobile like", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileNotLike(String value) {
            addCriterion("owner_mobile not like", value, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileIn(List<String> values) {
            addCriterion("owner_mobile in", values, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileNotIn(List<String> values) {
            addCriterion("owner_mobile not in", values, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileBetween(String value1, String value2) {
            addCriterion("owner_mobile between", value1, value2, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andOwnerMobileNotBetween(String value1, String value2) {
            addCriterion("owner_mobile not between", value1, value2, "ownerMobile");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNull() {
            addCriterion("contact_name is null");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNotNull() {
            addCriterion("contact_name is not null");
            return (Criteria) this;
        }

        public Criteria andContactNameEqualTo(String value) {
            addCriterion("contact_name =", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotEqualTo(String value) {
            addCriterion("contact_name <>", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThan(String value) {
            addCriterion("contact_name >", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThanOrEqualTo(String value) {
            addCriterion("contact_name >=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThan(String value) {
            addCriterion("contact_name <", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThanOrEqualTo(String value) {
            addCriterion("contact_name <=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLike(String value) {
            addCriterion("contact_name like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotLike(String value) {
            addCriterion("contact_name not like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameIn(List<String> values) {
            addCriterion("contact_name in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotIn(List<String> values) {
            addCriterion("contact_name not in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameBetween(String value1, String value2) {
            addCriterion("contact_name between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotBetween(String value1, String value2) {
            addCriterion("contact_name not between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andNameWxIsNull() {
            addCriterion("name_wx is null");
            return (Criteria) this;
        }

        public Criteria andNameWxIsNotNull() {
            addCriterion("name_wx is not null");
            return (Criteria) this;
        }

        public Criteria andNameWxEqualTo(String value) {
            addCriterion("name_wx =", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxNotEqualTo(String value) {
            addCriterion("name_wx <>", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxGreaterThan(String value) {
            addCriterion("name_wx >", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxGreaterThanOrEqualTo(String value) {
            addCriterion("name_wx >=", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxLessThan(String value) {
            addCriterion("name_wx <", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxLessThanOrEqualTo(String value) {
            addCriterion("name_wx <=", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxLike(String value) {
            addCriterion("name_wx like", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxNotLike(String value) {
            addCriterion("name_wx not like", value, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxIn(List<String> values) {
            addCriterion("name_wx in", values, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxNotIn(List<String> values) {
            addCriterion("name_wx not in", values, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxBetween(String value1, String value2) {
            addCriterion("name_wx between", value1, value2, "nameWx");
            return (Criteria) this;
        }

        public Criteria andNameWxNotBetween(String value1, String value2) {
            addCriterion("name_wx not between", value1, value2, "nameWx");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}